import axios from "axios";

const API_URL = "http://localhost:8080/app/coupon"

export const getById=(id)=>{
    return axios.get(`${API_URL}/${id}`)
}

export const getStatusAll=()=>{
    return axios.get(`${API_URL}/status/0`)
}
